<template>
    <div id="opa">
        <button @click="clik">111111111</button>
    </div>
</template>


<script>
    import {showTest} from "./test.js"
    export default{
        data() {
            return {
                name: 'zhukehan',
                needTemp: '',
                tabArr : ['temp','temp2','temp3']
            }
        },
        methods: {
            getTemp(item) {
                this.needTemp = item
            },
            clik() {
                let opa = document.getElementById("opa")
                showTest(opa)
            }
        },
        mounted() {
        }
    }
</script>